﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Company.Web.Models.NewsModels.DetailModel>" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="content_title">
Your present position:News
</div>&nbsp;&nbsp;
<% if (!string.IsNullOrEmpty(Request["ref"])) %>
<% { %>
<a href='<%=Request["ref"] %>'>&lt;&lt;Back</a>
<% } %>
<div class="newdetail">
    <h2 class="newtitle"><%=Model.New.Title %></h2>
    <p class="newcontent"><%=Model.New.Content %></p>
    <p class="newfooter"><span><%=Model.New.AddTime.ToString("yyyy-MM-dd HH:mm") %></span></p>
</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StypeAndScript" runat="server">
    <style type="text/css">
        .newdetail{ height:auto; overflow:hidden; margin:0px 10px;}
        .newdetail .newtitle{ width:100%;margin:10px auto; text-align:center;}
        .newdetail .newcontent{width:100%;margin:5px auto;}
        .newdetail .newfooter{width:100%; border-top:1px #888; border-top-style:dashed; text-align:right; margin:2px auto; height:auto; overflow:hidden;}
        .newdetail .newfooter
    </style>
</asp:Content>